<template>
  <div class="taskList">
    <h2>{{taskname}}</h2>
    <p>{{releaseP}}</p>
    <p>{{content}}</p>
    <p>po{{tip}}元</p>
    <p id="releasetime">{{releasetime}}</p>
    <button>接取任务</button>
  </div>
</template>

<script>
export default {
  name: "TaskList",
  data(){
      return {
          taskname:'取快递',
          releaseP:'胡轼',
          content:'到圆通快递点拿快递，手机号：15565532724，把快递拿到西区宿舍楼9202。下午送到，宿舍有人',
          tip:'1.0',
          releasetime:'',
          Pick:true
      }
  }
,
  created(){
   this.releasetime=new Date().toLocaleString();
  }
};
</script>

<style lang="scss" scoped>
.taskList{
    
  width: 900px;
  height: 200px;
  border: 1px solid red;
}
</style>